<template>
  <div class="home_page fillcontain">
    <el-row style="height: 100%;">
      <el-col :span="4"  style="min-height: 100%; background-color: transparent;">
        <el-menu default-active="manage" style="min-height: 100%;" theme="dark" router>
          <el-menu-item index="manage"><i class="el-icon-menu"></i>首页</el-menu-item>
          <el-submenu index="2">
            <template slot="title"><i class="el-icon-document"></i>快速出题</template>
            <el-menu-item index="exercisePage1">10以内加减法</el-menu-item>
            <el-menu-item index="exercisePage2">100以内加减法</el-menu-item>
            <el-menu-item index="exercisePage3">100以内乘除法</el-menu-item>
            <el-menu-item index="selectScale">自定义范围</el-menu-item>
          </el-submenu>
          <el-submenu index="3">
            <template slot="title"><i class="el-icon-edit"></i>放松游戏</template>
            <el-menu-item index="newGame">2048</el-menu-item>
          </el-submenu>
          <el-submenu index="4">
            <template slot="title"><i class="el-icon-warning"></i>说明</template>
            <el-menu-item index="explain">说明</el-menu-item>
          </el-submenu>
        </el-menu>
      </el-col>
      <el-col :span="20" style="height: 100%; overflow-y: auto">
        <router-view></router-view>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'manage',
}
</script>


<style lang="less" scoped>
@import '../style/mixin';
.home_page{

}
</style>
